package com.tony.blog.model.entity;

/**
 * Created with IntelliJ IDEA.
 *
 * @Title: SysModule
 * @Auther: 皮蛋布丁
 * @Date: 2021/08/21/22:15
 * @Description: 系统模块的枚举类型
 */
public enum SysModule {
    ModuleUser("user","用户模块"),
    ModuleBlog("blog","微博模块"),
    ;
    private String code;
    private String name;

    SysModule(String code, String name) {
        this.code = code;
        this.name = name;
    }

    public String getCode() {
        return code;
    }

    public void setCode(String code) {
        this.code = code;
    }

    public String getName() {
        return name;
    }

    public void setName(String name) {
        this.name = name;
    }
}
